Optimal. Leaf size=57 \[ \frac{3 x^3 \sin \left (a+b \log \left (c x^n\right )\right )}{b^2 n^2+9}-\frac{b n x^3 \cos \left (a+b \log \left (c x^n\right )\right )}{b^2 n^2+9} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0171281, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {4485} \[ \frac{3 x^3 \sin \left (a+b \log \left (c x^n\right )\right )}{b^2 n^2+9}-\frac{b n x^3 \cos \left (a+b \log \left (c x^n\right )\right )}{b^2 n^2+9} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4485
Rubi steps
\begin{align*} \int x^2 \sin \left (a+b \log \left (c x^n\right )\right ) \, dx &=-\frac{b n x^3 \cos \left (a+b \log \left (c x^n\right )\right )}{9+b^2 n^2}+\frac{3 x^3 \sin \left (a+b \log \left (c x^n\right )\right )}{9+b^2 n^2}\\ \end{align*}
Mathematica [A] time = 0.0751232, size = 44, normalized size = 0.77 \[ -\frac{x^3 \left (b n \cos \left (a+b \log \left (c x^n\right )\right )-3 \sin \left (a+b \log \left (c x^n\right )\right )\right )}{b^2 n^2+9} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.039, size = 0, normalized size = 0. \begin{align*} \int{x}^{2}\sin \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.20056, size = 296, normalized size = 5.19 \begin{align*} -\frac{{\left ({\left (b \cos \left (2 \, b \log \left (c\right )\right ) \cos \left (b \log \left (c\right )\right ) + b \sin \left (2 \, b \log \left (c\right )\right ) \sin \left (b \log \left (c\right )\right ) + b \cos \left (b \log \left (c\right )\right )\right )} n - 3 \, \cos \left (b \log \left (c\right )\right ) \sin \left (2 \, b \log \left (c\right )\right ) + 3 \, \cos \left (2 \, b \log \left (c\right )\right ) \sin \left (b \log \left (c\right )\right ) - 3 \, \sin \left (b \log \left (c\right )\right )\right )} x^{3} \cos \left (b \log \left (x^{n}\right ) + a\right ) -{\left ({\left (b \cos \left (b \log \left (c\right )\right ) \sin \left (2 \, b \log \left (c\right )\right ) - b \cos \left (2 \, b \log \left (c\right )\right ) \sin \left (b \log \left (c\right )\right ) + b \sin \left (b \log \left (c\right )\right )\right )} n + 3 \, \cos \left (2 \, b \log \left (c\right )\right ) \cos \left (b \log \left (c\right )\right ) + 3 \, \sin \left (2 \, b \log \left (c\right )\right ) \sin \left (b \log \left (c\right )\right ) + 3 \, \cos \left (b \log \left (c\right )\right )\right )} x^{3} \sin \left (b \log \left (x^{n}\right ) + a\right )}{2 \,{\left ({\left (b^{2} \cos \left (b \log \left (c\right )\right )^{2} + b^{2} \sin \left (b \log \left (c\right )\right )^{2}\right )} n^{2} + 9 \, \cos \left (b \log \left (c\right )\right )^{2} + 9 \, \sin \left (b \log \left (c\right )\right )^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.484201, size = 130, normalized size = 2.28 \begin{align*} -\frac{b n x^{3} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) - 3 \, x^{3} \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{b^{2} n^{2} + 9} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.31496, size = 1246, normalized size = 21.86 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]